package cn.liontalk.receive;


import cn.liontalk.constant.SystemConstant;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

@Component
public class Receiver {

    @RabbitListener(queues = SystemConstant.Hello_World_Queue)
    public void process(String message) {
        System.out.println("receiver  message== " + message);
    }
}
